package com.kymatrix.kycarbon.xsmd.system.server.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kymatrix.kycarbon.xsmd.system.server.dao.TenantMapper;
import com.kymatrix.kycarbon.xsmd.system.server.model.entity.TenantEntity;
import com.kymatrix.kycarbon.xsmd.system.server.service.ITenantService;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

@Service
@Primary
public class TenantServiceImpl extends ServiceImpl<TenantMapper, TenantEntity>
        implements ITenantService {


    @Override
    public TenantEntity selectByName(String name) {
        return this.baseMapper.selectByName(name);
    }
    
}
